import { NgModule } from '@angular/core';
import { BrowserModule } from  '@angular/platform-browser';

/* Common Module */
import { CommonModule } from '../common/common.module';

/* Home Component */
import { HomeComponent } from './home.component';

/* Home Service */
import { HomeService } from '../../service/home.service';

@NgModule({
    imports: [
        BrowserModule,
        CommonModule
    ],
    providers: [
        HomeService
    ],
    declarations: [
        HomeComponent // 主组件
    ],
    exports: [ HomeComponent ]
})
export class HomeModule {

    constructor() {
        console.log('Module: "Home" Loading completed');
    }
    
}